home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 16
/
Aminet 16 (1996)(GTI - Schatztruhe)[!][Dec 1996].iso
/
Aminet
/
mus
/
misc
/
SS_ESC2Close.lha
/
ESC2Close.doc
next >
Wrap
Text File
|
1996-09-29
|
5KB
|
135 lines
-------------------------------------------------------------------------------
ESC2Close.keyboard - a selection of keyboard shortcuts for OctaMED SoundStudio
by Simon Speight
(c) 1996
-------------------------------------------------------------------------------
Why?
~~~~
Having used a few MUI programs, I got used to the idea of pressing Escape
to close windows (makes sense to me). With key combinations for just about
everything else in SoundStudio, I wanted to be able to shut the windows with
the ESC key as well, and so was born ESC2Close.
I'm sure there must be other SoundStudio users around who would like to do
this, but just can't be bothered to type them all in (I nearly didn't!) so now
that I have, I thought I may as well let everyone use them.
What?
~~~~~
There is *nothing* special about ESC2Close - nothing at all. All it is,
is a set of keyboard shortcuts for EVERY window SoundStudio could open which
allows you to close it by pressing Escape.
In case you're not familiar with SoundStudio's amazingly powerful keyboard
shortcut options, I'll explain how it all works;
For any key combination, you can assign it one of SoundStudio's ARexx
commands, get it to run an ARexx script, or another program. The key
combinations are defined by a main key (either by its mapped character ('g',
'x' etc) or its raw key code) and a qualifier (Alt (left and/or right), Shift
(left and/or right), Amiga (left and/or right), Control and CapsShift).
These short cuts can be generic (ie, work through the entire program) or
specific to a given window, and this is the method used in ESC2Close.
What I have done is to set up for EACH WINDOW (and with over 50, that was
no small task!) a shortcut of the Escape key that closes that window (using
Soundstudio's "wi_close" function). I did originally hope to find a way of
doing it with one command (by somehow finding out what window was active) but
that was hopeless.
Points to note
~~~~~~~~~~~~~~
1) As it stands, I have provided a short cut to close EVERY SINGLE window
listed in the manual. However, I very much doubt if you will want to keep all
of those in. I personally have them all in, bar three - those windows being
the "Main Control" window, the "Information" window, and the "Editor" window,
which are the three windows I have open on startup. That way, I can keep ESC
switching EDIT on/off when I'm in my 'normal' working mode, and simply use ESC
to close any _additional_ windows I open. Simply edit it to suit you.
2) Some windows, when opened, activate a text/number gadget ready for input.
In this state, even with the shortcut set, ESCAPE WILL NOT CLOSE THE WINDOW!
This is not my fault, nor SoundStudio's - that's just the way things are. You
will have to deactivate the gadget (either by pressing return or clicking on
some other part of the window) before the Escape shortcut will work.
3) Lastly, and rather obviously but I'd better point it out: don't forget -
the window needs to be active for the shortcut relating to that window to work!
Installation
~~~~~~~~~~~~
- Copy the file "ESC2Close.keyboard" to anywhere you like (the "Keyboard"
drawer within the main SoundStudio drawer would seem to be a good place), and
then start SoundStudio.
- Select the keyboards shortcuts editor (the "Settings/Keyboard Shortcuts"
menu item).
- Click on the "Load" gadget, and select the "ESC2Close.keyboard" file, from
where ever you have put it.
- I suggest you answer "Yes" to the "Retain Existing Shortcuts?" requester, as
otherwise you will lose ALL other shortcuts!!!
- You will now see 50-odd new shortcuts at the bottom of the list (they are
all called "ESC2Close <label>"). Edit this as necessary to avoid clashes with
other shortcuts.
- Click on the "Save" gadget, and save your shortcuts back to
PROGDIR:SoundStudio.defkeyboard to have them loaded all the time.
There you go - now you can enjoy one-touch window closing!
Copyright
~~~~~~~~~
Copyright?! On a bit of ASCII?!?! I don't think so....
Nope, there ain't no copyright, no shareware fees, no registration,
nothing. I ask that the archive be kept exactly as it is and that it not be
changed in any way (including addition, removal, or alteration of data), but
spread it as much as you like.
RBF Software have permission to include this with future versions of
OctaMED/SoundStudio if they wish, and not pay a penny for the privelige. :-)
Who am I?
~~~~~~~~~
I am Simon Speight (duh.....) and I would appreciate it, if you find this
useful at all, if you would contact me and let me know, as I'm curious as to
how popular OctaMED is.
Find me on: simons@telecall.co.uk
2:259/66.34@fidonet
39:137/12.34@amiganet
Useless tip of the day
~~~~~~~~~~~~~~~~~~~~~~
Handy hint I discovered in the making of this; don't try to open the
TOCCATA_CAPTURE window if you haven't got a Toccata board - SoundStudio will
crash.
So, on no accounts open up a Command Shell and type "wi_open
toccata_capture" if you have anything in memory that you want to save, OK?
Right, I'm glad that's clear...... :-)
See yaz - Simon...